package com.ericzong.renamer.model;

public class CommonResult implements Result
{
	private int total;
	private int failCount;
	private int passCount;

	@Override
	public int getTotal()
	{
		return total;
	}

	@Override
	public int getFailCount()
	{
		return failCount;
	}

	@Override
	public int getPassCount()
	{
		return passCount;
	}

	@Override
	public void pushFail()
	{
		failCount++;
		total++;
	}

	@Override
	public void pushPass()
	{
		passCount++;
		total++;
	}

	@Override
	public void pushNoChange()
	{
		total++;
	}

}
